<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MFixedPoint: Constructors</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MFixedPoint
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__Constructors.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Constructors</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga0706f9e0c9d93b74a09654d1adbaf3ab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Constructors.html#ga0706f9e0c9d93b74a09654d1adbaf3ab">mn::MFixedPoint::Fp64f&lt; p &gt;::Fp64f</a> ()</td></tr>
<tr class="memdesc:ga0706f9e0c9d93b74a09654d1adbaf3ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor.  <a href="#ga0706f9e0c9d93b74a09654d1adbaf3ab">More...</a><br /></td></tr>
<tr class="separator:ga0706f9e0c9d93b74a09654d1adbaf3ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a310f9abe9a30ee9706d50940e44aab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Constructors.html#ga8a310f9abe9a30ee9706d50940e44aab">mn::MFixedPoint::Fp64f&lt; p &gt;::Fp64f</a> (int32_t i)</td></tr>
<tr class="memdesc:ga8a310f9abe9a30ee9706d50940e44aab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor taking a int32_t.  <a href="#ga8a310f9abe9a30ee9706d50940e44aab">More...</a><br /></td></tr>
<tr class="separator:ga8a310f9abe9a30ee9706d50940e44aab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0ef00d1694097eab0d8ad0d59c0b226"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Constructors.html#gab0ef00d1694097eab0d8ad0d59c0b226">mn::MFixedPoint::Fp64f&lt; p &gt;::Fp64f</a> (int64_t i)</td></tr>
<tr class="separator:gab0ef00d1694097eab0d8ad0d59c0b226"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab31c5efe367072ad14c54ad81ce1a59"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Constructors.html#gaab31c5efe367072ad14c54ad81ce1a59">mn::MFixedPoint::Fp64f&lt; p &gt;::Fp64f</a> (float f)</td></tr>
<tr class="separator:gaab31c5efe367072ad14c54ad81ce1a59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafbfe25575017a8b37b3e06b8856cc55e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Constructors.html#gafbfe25575017a8b37b3e06b8856cc55e">mn::MFixedPoint::Fp64f&lt; p &gt;::Fp64f</a> (double f)</td></tr>
<tr class="separator:gafbfe25575017a8b37b3e06b8856cc55e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga0706f9e0c9d93b74a09654d1adbaf3ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0706f9e0c9d93b74a09654d1adbaf3ab">&#9670;&nbsp;</a></span>Fp64f() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t p&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">mn::MFixedPoint::Fp64f</a>&lt; p &gt;::<a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default constructor. </p>

<p class="definition">Definition at line <a class="el" href="Fp64f_8hpp_source.html#l00080">80</a> of file <a class="el" href="Fp64f_8hpp_source.html">Fp64f.hpp</a>.</p>

</div>
</div>
<a id="ga8a310f9abe9a30ee9706d50940e44aab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8a310f9abe9a30ee9706d50940e44aab">&#9670;&nbsp;</a></span>Fp64f() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t p&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">mn::MFixedPoint::Fp64f</a>&lt; p &gt;::<a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor taking a int32_t. </p>
<p>Uses initialiser lists. Make sure i is cast to 64-bit before shifting, otherwise truncation will occur. </p>

<p class="definition">Definition at line <a class="el" href="Fp64f_8hpp_source.html#l00089">89</a> of file <a class="el" href="Fp64f_8hpp_source.html">Fp64f.hpp</a>.</p>

</div>
</div>
<a id="gab0ef00d1694097eab0d8ad0d59c0b226"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab0ef00d1694097eab0d8ad0d59c0b226">&#9670;&nbsp;</a></span>Fp64f() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t p&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">mn::MFixedPoint::Fp64f</a>&lt; p &gt;::<a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> </td>
          <td>(</td>
          <td class="paramtype">int64_t&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="Fp64f_8hpp_source.html#l00095">95</a> of file <a class="el" href="Fp64f_8hpp_source.html">Fp64f.hpp</a>.</p>

</div>
</div>
<a id="gaab31c5efe367072ad14c54ad81ce1a59"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaab31c5efe367072ad14c54ad81ce1a59">&#9670;&nbsp;</a></span>Fp64f() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t p&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">mn::MFixedPoint::Fp64f</a>&lt; p &gt;::<a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="Fp64f_8hpp_source.html#l00101">101</a> of file <a class="el" href="Fp64f_8hpp_source.html">Fp64f.hpp</a>.</p>

</div>
</div>
<a id="gafbfe25575017a8b37b3e06b8856cc55e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gafbfe25575017a8b37b3e06b8856cc55e">&#9670;&nbsp;</a></span>Fp64f() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t p&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">mn::MFixedPoint::Fp64f</a>&lt; p &gt;::<a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="Fp64f_8hpp_source.html#l00106">106</a> of file <a class="el" href="Fp64f_8hpp_source.html">Fp64f.hpp</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Wed Dec 13 2017 13:34:44 for MFixedPoint by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
